include ../../Makefile.config ../Makefile.config

all: 8x51.so

8x51.so: 8x51.o
	$(CC) $(LDFLAGS_PLUGIN) -o lib8x51.so 8x51.o

8x51.o: 8x51.c
	$(CC) $(CFLAGS_PLUGIN) -c 8x51.c -o 8x51.o

clean:
	rm -f *.o
	rm -f lib8x51.so

.PHONY: clean $(PLUG8X51)
